﻿<div id="container" class="full-width for-gal">
	<h1>Portfolio</h1>
	<section class="gallery">       
		<div class="navig-category">
			<a class="button act" href=""><span>Ver todas</span></a>
			<a class="button" href=""><span>Editoriales</span></a>
			<a class="button" href=""><span>Practicas</span></a>
			<a class="button" href=""><span>Escuela</span></a>
			<a class="button categ td-full-third act" href="#grid"><span><i class="three-coll"></i></span></a>
			<a class="button categ list-full-third" href="#list"><span><i class="three-coll-t"></i></span></a>
		</div>
		<div class="gallery-inner">
		
			<?php foreach ($fotos as $foto): ?>
				<div class="textwidget" >
					<div class="textwidget-photo" width="298" height="172">
						<a class="photo" href=""><?php echo$this->Html->image($foto['foto']['mini'], array('width'=>'298','height'=>'172'));?></a>
						<a class="like"><span>11</span></a>
					</div>
					<div class="widget-info">
						<div class="textwidget-photo">
							<?php echo $this->Html->link($this->Html->image($foto['foto']['mini'], array('width'=>'298','height'=>'172')),
													'/img/'.$foto['foto']['nombre'], array('escape' => false,
																				"class"=>"photo highslide",
																				"onclick"=>"return hs.expand(this, galleryOptions)"));?>
							<a class="like"><span>11</span></a>
						</div>
						<div class="info one-third">
							<a class="head-capt" href=""><?php echo $foto['foto']['nombre']; ?></a>
							<p><?php echo $foto['foto']['nombre']; ?></p>
							<a class="details" href=""><span><i class="more"></i>Details</span></a>
						</div>
					</div>
				</div>
			<?php endforeach; ?>
			
		</div>						
	</section>

</div><!-- #container-->
